
/* @group 
    Allgemein 
*/
#commandBar {
    padding: 1px 2px 2px 2px;
}

#page-button .toolbarbutton-menubutton-button,
#about-button .toolbarbutton-menubutton-button,
#toolsButton {
    -moz-box-orient: horizontal;
}

#ssrSidebar-mitem {
    margin-left: 13px;
}
/* @end */


/* @group 
    Icons 
*/
#page-button .toolbarbutton-menubutton-button,
#about-button .toolbarbutton-menubutton-button,
#toolsButton {
    list-style-image: url(icons/panels_menus.png);
}

.toolbarbutton-menubutton-button image {
    max-width: 16px;
    max-height: 16px;
    margin: 1px 3px 0px 0px !important;
}


/* @group 
    Windows 
*/
page[aios_appOS="WINNT"] #page-button .toolbarbutton-menubutton-button {
    -moz-image-region: rect(0px, 80px, 16px, 64px);
}

page[aios_appOS="WINNT"] #about-button .toolbarbutton-menubutton-button {
    -moz-image-region: rect(0px, 96px, 16px, 80px);
}

page[aios_appOS="WINNT"] #toolsButton {
    -moz-image-region: rect(0px, 16px, 16px, 0px);
}
/* @end */


/* @group 
    Darwin 
*/
page[aios_appOS="Darwin"] #page-button .toolbarbutton-menubutton-button {
    -moz-image-region: rect(32px, 80px, 48px, 64px);
}

page[aios_appOS="Darwin"] #about-button .toolbarbutton-menubutton-button {
    -moz-image-region: rect(32px, 96px, 48px, 80px);
}

page[aios_appOS="Darwin"] #toolsButton {
    -moz-image-region: rect(32px, 16px, 48px, 0px);
}

page[aios_appOS="Darwin"] .toolbarbutton-menubutton-button image {
    margin: 3px 3px 2px 0px !important;
}
/* @end */


/* @group 
    Linux 
*/
page[aios_appOS="Linux"] #page-button .toolbarbutton-menubutton-button {
    -moz-image-region: rect(64px, 80px, 80px, 64px);
}

page[aios_appOS="Linux"] #about-button .toolbarbutton-menubutton-button {
    -moz-image-region: rect(64px, 96px, 80px, 80px);
}

page[aios_appOS="Linux"] #toolsButton {
    -moz-image-region: rect(64px, 16px, 80px, 0px);
}
/* @end */
/* @end */


/* @group 
    Firefox-Standard-Theme 
*/
page[aios_appDefTheme="true"] #web-panels-browser {
    background-color: #FFFFFF;
}

page[aios_appDefTheme="true"][aios_appOS="WINNT"] #commandBar {
    border-top: 1px solid ThreedHighlight;
    border-bottom: 1px solid ThreedShadow;
}

page[aios_appDefTheme="true"] #toolsButton dropmarker image {
    margin: 0px 1px 0px 2px;
}


/* @group 
    Windows-Standard 
*/
page:-moz-system-metric(windows-default-theme):not([aios_appOSVersion="Windows NT 5.1"])[aios_appDefTheme="true"] #commandBar {
    -moz-appearance: toolbox;
}

page:-moz-system-metric(windows-default-theme)[aios_appOSVersion="Windows NT 5.1"][aios_appDefTheme="true"] #commandBar {
    /*padding: 0px 2px 1px 1px !important;*/
    background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

page:-moz-system-metric(windows-default-theme)[aios_appDefTheme="true"] .toolbarbutton-1 {
    margin-right: 5px;
}

page:-moz-system-metric(windows-default-theme):not([aios_appOSVersion="Windows NT 5.1"]) .toolbarbutton-1 toolbarbutton {
    padding: 3px !important;
}

page:-moz-system-metric(windows-default-theme)[aios_appOSVersion="Windows NT 5.1"] .toolbarbutton-1 toolbarbutton {
    padding: 2px !important;
}

page:-moz-system-metric(windows-default-theme) .toolbarbutton-1 label {
    padding-right: 3px;
}
/* @end */


/* @group 
    Darwin 
*/
/* Firefox 4 auf Darwin: Aktivierter Toolbarbutton (type = menu-button) */
page[aios_appOS="Darwin"] .aios-tbutton[checked="true"] .toolbarbutton-menubutton-button,
page[aios_appOS="Darwin"] .aios-tbutton[checked="true"] .toolbarbutton-menubutton-dropmarker {
    /*background: #606060;*/
    box-shadow: inset #2A2A2A 0 3px 3.5px, 0 1px rgba(255, 255, 255, .4);
}

*[aios_appDefTheme="true"][aios_appOS="Darwin"] #commandBar:-moz-window-inactive {
    background-color: #e8e8e8;
}

*[aios_appDefTheme="true"][aios_appOS="Darwin"] #commandBar:not(:-moz-window-inactive) {
    background-color: #D4DDE5 !important;
}

page[aios_appOS="Darwin"] #commandBar {
    padding: 3px 0px 10px 2px !important;
    border: none !important;
}

page[aios_appOS="Darwin"] .toolbarbutton-1 {
    padding: 0px;
    border: none;
}

page[aios_appOS="Darwin"] toolbarbutton > image {
    margin-right: 0px;
}

page[aios_appOS="Darwin"] toolbarbutton > label {
    margin: 0px;
    padding: 0px;
}

page[aios_appOS="Darwin"] .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text {
    margin-right: 3px;
}

page[aios_appOS="Darwin"] #toolsButton {
  -moz-appearance: none;
  padding: 1px 5px;
  border: 1px solid #7F7F7F;
  -moz-border-radius: 10px;
  background: -moz-linear-gradient(top, #FFF, #ADADAD) repeat-x;
}

page[aios_appOS="Darwin"] #toolsButton image {
    margin-right: 6px;
}

page[aios_appOS="Darwin"] #toolsButton .dropmarker-icon {
    margin: 2px 0px 0px 1px;
}
/* @end */
/* @end */
